body,
html {
  height: 100%;

}

body {
  overflow-x: hidden;
  background-color: #f0f0f0;
}

// 版心
$wrap: 1100px;

.wrapper {
  width: $wrap;
  margin: 0 auto;
}

.off {
  background-color: #e31436 !important;
}

// 1.导航栏
.nav {
  width: 100%;
  height: 30px;
  background: #000;
  border-bottom: 1px solid #ededee;
  color: #999;

  .wrapper {
    width: $wrap;
    display: flex;
    margin: 0 auto;
    line-height: 30px;
    color: #999;

    .topNavLeft {
      width: 193px;

      .navAdmit,
      .navReg {
        margin-left: 16px;
        color: #999;
      }
    }

    .topNavLeft2 {
      width: 78px;
      height: 30px;
      padding-left: 30px;

      .iphone {
        color: #999;
      }
    }

    // 2.导航栏二级导航的简单封装
    @mixin Drop {
      display: flex;
      flex-direction: column;
      position: absolute;
      left: -1px;
      top: 30px;
      width: 100px;
      background-color: #fff;
      border: 1px solid #e8e8ea;
      border-top: 0;
      padding: 4px 0px 12px 14px;
      display: none;
      z-index: 6;
    }

    .topNavRight {
      width: 690px;
      height: 30px;
      margin-left: 100px;
      display: flex;
      justify-content: space-between;

      li {
        a {
          color: #999;
        }
      }

      // 2.1个人中心
      .person {
        position: relative;

        .common {
          position: relative;
          border: 1px solid transparent;
          left: -3px;
          top: -1px;

          .p1 {
            color: #999;
          }

          .myDrop {
            @include Drop;

            .p2 {
              height: 28px;
              display: block;

              .icon-triangle-down {
                display: inline-block;
                transition: all 0.5s;
              }

            }
          }

          &:hover {
            background-color: #fff;
            cursor: pointer;
            border: 1px solid transparent;

            .p1 {
              color: rgb(255, 30, 50);
            }

            .myDrop {
              display: block;
            }
          }
        }
      }

      // 2.2客户服务
      .serve {
        @extend .person;
      }

      // 2.3充值中心
      .charge {
        @extend .person;
      }

      // 2.4 消费者权益
      .sumber {
        @extend .person;
      }

      // 2.5更多
      .more {
        @extend .person;
      }
    }
  }
}

// 2.header
.header {
  width: 100%;
  background-color: #fff;
  position: relative;

  .wrapper {
    min-height: 100px;
    display: flex;
    align-items: center;

    .logo {
      width: 330px;
      height: 65px;
      display: inline-block;
      background-image: url(http://kaola-haitao.oss.kaolacdn.com/f69c45fd-8d91-4e18-8e3f-a546be302a12.png);
      background-repeat: no-repeat;
      background-size: auto 65px;
    }
  }
}

// 3.购物车
.cart {
  // min-height: 400px;
  background-color: #fff;

  .cart_top {
    width: 100%;
    height: 32px;
    display: flex;
    line-height: 32px;

    .drops {
      margin-left: 10px;
    }

    .tip {
      margin-left: 680px;
      font-size: 14px;
      margin-right: 46px;

      img {
        vertical-align: middle;
      }
    }


    a {
      margin-left: 20px;
      color: #e31436;
    }


  }

  .m-cart {
    .head {
      width: 1100px;
      color: #999;
      border: 1px solid #eaeaea;
      height: 34px;
      line-height: 34px;
      display: flex;

      .col {
        width: 134px;
        padding: 0 10px;

        .selectAll {
          vertical-align: middle;
        }

        span {
          vertical-align: middle;

        }
      }

      .col1 {
        width: 422px;
        padding: 0 10px;
      }

      .col2 {
        width: 150px;
        padding: 0 10px;
      }

      .col3 {
        width: 147px;
        padding: 0 10px;
      }

      .col4 {
        width: 128px;
        padding: 0 10px;
      }

      .col5 {
        width: 107px;
        padding: 0 7px;
        text-align: left;
      }


    }

    .goods {
      border: 1px solid #eaeaea;

      .m_goods {


        li {
          height: 120px;
          border-bottom: 1px solid #eaeaea;
          padding: 20px 0;
          display: flex;
          // background-color: #fffbf0;
          background-color: #fff;
          line-height: 80px;

          .row0 {
            padding-right: 0;
            padding: 0 10px;
            width: 37px;
            vertical-align: middle;


          }

          .row1 {
            width: 536px;
            display: flex;

            img {
              width: 80px;
              height: 80px;
            }

            .txt {
              margin-left: 15px;
              width: 220px;
              padding-right: 20px;
            }

            .package {
              width: 130px;
              color: #999;
            }

          }

          .row2 {
            width: 88px;
            font-weight: 700;
            font-size: 14px;
            color: #333;
          }

          .row3 {
            margin-left: 30px;
            width: 123px;
            vertical-align: top;
            height: 80px;
            display: flex;
            align-items: center;

            .reduce {
              width: 20px;
              height: 20px;
              line-height: 20px;
              text-align: center;
              cursor: pointer;
              text-decoration: none;
              border: 1px solid #bcbcbc;
              vertical-align: middle;
            }

            .count-input {
              width: 43px;
              height: 20px;
              line-height: 20px;
              text-align: center;
              border: 1px solid #bcbcbc;
              border-width: 1px 0;
              vertical-align: middle;
              display: inline-block;
            }

            .add {
              width: 20px;
              height: 20px;
              line-height: 20px;
              text-align: center;
              cursor: pointer;
              text-decoration: none;
              border: 1px solid #bcbcbc;
              color: #333;
              vertical-align: middle;
            }
          }

          .row4 {
            width: 140px;
            font-weight: 700;
            font-size: 14px;
            text-align: center
          }

          .row5 {
            width: 92px;
            color: #333;
            cursor: pointer;
            text-align: center;

          }
        }
      }

    }

    .bar {
      width: 100%;
      height: 60px;
      border: 1px solid #eaeaea;
      background-color: #f8f8f8;
      display: flex;
      // padding: 10px 0;
      line-height: 60px;

      .lt {
        padding: 0 10px;
        line-height: 60px;
        width: 155px;
        margin-right: 500px;

        .deleteAll {
          vertical-align: middle;
          cursor: pointer;
        }

        span {
          color: rgb(93, 212, 122);

          vertical-align: middle;
        }
      }

      .rt {
        display: flex;

        .allgoods {
          width: 324px;

          .nums {
            color: #e31436;
            font-weight: 700;
            font-size: 18px;
          }

          .itm {
            margin-left: 20px;

            .money {
              color: #e31436;
              font-weight: 700;
              font-size: 18px;
            }
          }

        }

        .allmoney {
          .gobuy {
            width: 120px;
            height: 60px;
            border: none;
            text-align: center;
            background-color: #e31436;
            color: #fff;
            font-size: 18px;
            outline: none;
          }
        }
      }
    }



  }

}


// 4.购物车删完
.empty {
  height: 200px;
  display: none;
  line-height: 200px;
  padding-left: 400px;



  .e-bg {
    display: inline-block;
    vertical-align: middle;
    width: 46px;
    height: 40px;
    background-image: url(https://m.kaolacdn.com/public/trade-pc/images/cartIcon.eb2ccd5.jpg);
    background-repeat: no-repeat;

  }

  .e-title {
    display: inline-block;
    width: 200px;
    height: 40px;

    .play {
      color: #e31436;
    }

  }
}


























//5.底部1
.footer {
  width: 100%;
  min-height: 216px;
  background-color: #fff;

  .wrapper {
    padding: 45px 0 45px;

    ul {
      display: flex;

      &:last-child {
        img {
          display: block;
        }

      }

      li {
        margin-right: 40px;



        dt {
          font-weight: 900;
          margin-bottom: 10px;
        }

        dd {
          margin-bottom: 10px;
        }

      }
    }

    .footer_logo {
      a {
        display: block;
        margin-bottom: 20px;
        cursor: pointer;

        img {
          width: 220px;
          height: 43px;
        }
      }

      .focuson {
        width: 218px;
        height: 32px;
        margin-bottom: 20px;

        .iconfont {
          font-size: 32px;
          vertical-align: middle;
        }

        .icon-25 {
          color: red;
          margin-left: 16px;
        }

        .icon-27 {
          color: green;
          margin-left: 16px;
        }

      }

      .report {
        margin-bottom: 20px;
      }


    }
  }



}

//6.底部2
.footerTwo {
  width: 100%;
  background: #333;

  .wrapper {
    padding: 20px 0;
    min-height: 156px;
    line-height: 26px;
    text-align: center;
    color: #c2c2c2;
    padding-left: 60px;

    span {
      margin-left: 20px;
    }

    .copy_bottom {
      img {
        vertical-align: middle;
      }

      .quality {
        margin-left: 6px;
      }

    }

    .copy_img {
      margin-top: 8px;

      img {
        display: inline-block;
        height: 30px;
        margin-right: 6px;
      }
    }
  }
}